﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AG.Editor.Core.Data
{
    public class AGMap
    {
        public AGMapTile[] Tiles { get; set; }

        public ushort Row { get; set; }
        public ushort Col { get; set; }

        public ushort Id { get; set; }
        public string Name { get; set; }

        public AGMap()
        {
        }

        public AGMapTile GetTile(ushort row, ushort col)
        {
            return Tiles[row * Col + col];
        }
    }
}
